var mongoose = require('mongoose');
mongoose.connect('localhost', 'myfarmDB');
exports.mongoose = mongoose;